package day09API.stream;

import java.io.*;

/**
 * @author DBX
 * @effect
 * @date 2021/8/27 0027 - 14:59
 */
public class PWDemo2 {
    public static void main(String[] args) throws FileNotFoundException {
        FileOutputStream fos = new FileOutputStream("File/pw.txt",true);
        OutputStreamWriter osw = new OutputStreamWriter(fos);
        BufferedWriter bw = new BufferedWriter(osw);
        PrintWriter pw = new PrintWriter(bw);
        pw.println("你好");
        pw.close();
    }
}
